<template>
  <div class="app-container home">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="24" style="padding-left: 20px" v-loading="loading">
        <div v-html="msg"></div>
      </el-col>
    </el-row>
  </div>
</template>
<script>
import {getConfigKey} from "@/api/system/config";
export default {
  name: "index",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 查询参数
      queryParams: {
        configKey: "hebtu.second.rule",
      },
      msg: ""
    };
  },
  created() {
    this.getConfig();
  },
  methods: {
    /** 查询参数列表 */
    getConfig() {
      this.loading = true;
      const configKey = this.queryParams.configKey;
      getConfigKey(configKey).then(response => {
        this.msg = response.msg;
        this.loading = false;
      });
    }
  },
};
</script>


